provider Releases POST /api/0/organizations/{organization_id_or_slug}/releases/{version}/files/
@utdk/sentry /api/0/organizations/{organization_id_or_slug}/releases/{version}/files/
Upload a New Organization Release File
Upload a new file for the given release. Unlike other API requests, files must be uploaded using the traditional multipart/form-data content-type. Requests to this endpoint should use the region-specific domain eg. `us.sentry.io` or `de.sentry.io`. The optional 'name' attribute should reflect the absolute path that this file will be referenced as. For example, in the case of JavaScript you might specify the full web URI.
organization_id_or_slug path required
The ID or slug of the organization.
string
version path required
The version identifier of the release.
string

Try it

Authentication
Configure credentials for API Reference
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

uploadANewOrganizationReleaseFile
POST/api/0/organizations/{organization_id_or_slug}/releases/{version}/files/
Upload a new file for the given release. Unlike other API requests, files must be uploaded using the traditional multipart/form-data content-type. Requests to this endpoint should use the region-specific domain eg. `us.sentry.io` or `de.sentry.io`. The optional 'name' attribute should reflect the absolute path that this file will be referenced as. For example, in the case of JavaScript you might specify the full web URI.

Parameters

required

The ID or slug of the organization.

required

The version identifier of the release.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sentry from '@utdk/sentry';

await sentry.uploadANewOrganizationReleaseFile()